package com.xian.yoga.entity;

import java.io.Serializable;

/**
 * interview
 * @author 
 */
public class Interview implements Serializable {
    private Integer interviewId;

    private String studioName;

    private String coachName;

    private String interviewInfo;

    private String interviewResult;

    private static final long serialVersionUID = 1L;

    public Integer getInterviewId() {
        return interviewId;
    }

    public void setInterviewId(Integer interviewId) {
        this.interviewId = interviewId;
    }

    public String getStudioName() {
        return studioName;
    }

    public void setStudioName(String studioName) {
        this.studioName = studioName;
    }

    public String getCoachName() {
        return coachName;
    }

    public void setCoachName(String coachName) {
        this.coachName = coachName;
    }

    public String getInterviewInfo() {
        return interviewInfo;
    }

    public void setInterviewInfo(String interviewInfo) {
        this.interviewInfo = interviewInfo;
    }

    public String getInterviewResult() {
        return interviewResult;
    }

    public void setInterviewResult(String interviewResult) {
        this.interviewResult = interviewResult;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Interview other = (Interview) that;
        return (this.getInterviewId() == null ? other.getInterviewId() == null : this.getInterviewId().equals(other.getInterviewId()))
            && (this.getStudioName() == null ? other.getStudioName() == null : this.getStudioName().equals(other.getStudioName()))
            && (this.getCoachName() == null ? other.getCoachName() == null : this.getCoachName().equals(other.getCoachName()))
            && (this.getInterviewInfo() == null ? other.getInterviewInfo() == null : this.getInterviewInfo().equals(other.getInterviewInfo()))
            && (this.getInterviewResult() == null ? other.getInterviewResult() == null : this.getInterviewResult().equals(other.getInterviewResult()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getInterviewId() == null) ? 0 : getInterviewId().hashCode());
        result = prime * result + ((getStudioName() == null) ? 0 : getStudioName().hashCode());
        result = prime * result + ((getCoachName() == null) ? 0 : getCoachName().hashCode());
        result = prime * result + ((getInterviewInfo() == null) ? 0 : getInterviewInfo().hashCode());
        result = prime * result + ((getInterviewResult() == null) ? 0 : getInterviewResult().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", interviewId=").append(interviewId);
        sb.append(", studioName=").append(studioName);
        sb.append(", coachName=").append(coachName);
        sb.append(", interviewInfo=").append(interviewInfo);
        sb.append(", interviewResult=").append(interviewResult);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}